package com.xoa.dao.workflow;

import com.xoa.model.workflow.RelationFunc;
import com.xoa.model.workflow.RelationFuncExample;
import com.xoa.model.workflow.RelationFuncWithBLOBs;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface RelationFuncMapper {
    int countByExample(RelationFuncExample example);

    int deleteByExample(RelationFuncExample example);

    int deleteByPrimaryKey(Integer relationId);

    int insert(RelationFunc record);

    int insertSelective(RelationFunc record);

    List<RelationFunc> selectByExampleWithBLOBs(RelationFuncExample example);

    List<RelationFunc> selectByExample(RelationFuncExample example);
    RelationFuncWithBLOBs selectByPrimaryKey(Integer relationId);

    int updateByExampleSelective(@Param("record") RelationFunc record, @Param("example") RelationFuncExample example);

    int updateByExampleWithBLOBs(@Param("record") RelationFunc record, @Param("example") RelationFuncExample example);

    int updateByExample(@Param("record") RelationFunc record, @Param("example") RelationFuncExample example);

    int updateByPrimaryKeySelective(RelationFunc record);

    int updateByPrimaryKeyWithBLOBs(RelationFunc record);

    int updateByPrimaryKey(RelationFunc record);

    List<RelationFuncWithBLOBs> queryAll(Map map);

    List<RelationFuncWithBLOBs> queryAllChild(Integer formId);

    int deleteByIds(@Param("ids") String[] ids);

}